package com.java.interfaces.exer1;

/**
 * @author luzhikun
 * @date 2020/12/6- 16:06
 */
public class Cat extends Animal {
    public Cat() {

    }

    public Cat(String name, String color, int age) {
        super(name, color, age);
    }

    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }

    @Override
    public void sleep() {
        System.out.println("猫白天睡觉");
    }

    public void fly() {
        System.out.println("猫会飞");
    }
}
